The online racing simulator
Searching in All forums
(744 results)
Scawen
Developer
Quote from Rizzerz :Hello, quick question, now the slots to join on server its like 78, when will you increase the slots to drive to 70?

The plan is to look at increasing max cars in race sometime after the big update is released.

We need to see how the new physics works on everyone's computers (in the multithreaded system, which should help, if CPU has at least two, but preferably four cores) and after evaluating that we can see how the performance will be when extending to 48 cars in race.

The purpose of this current test patch is to release an official version with much better mod support than in the currently official version, so that mod makers can keep making nice mods while I get on and finish the physics for the new version (improved tyre physics and much better graphics, with significantly updated tracks) that we are all waiting for.
Optional update for LFS_restart.exe
Scawen
Developer
Hello Racers.

The latest (Test Patch D51) versions of LFS and LFS Editor have new icons kindly provided by Flame CZE.

These icons look better and contain a larger icon image that works well with modern versions of Windows.

If you don't use the test patch, you will get the new icons when you update to the official version (soon to be released).

But there is one file that can't be updated when you are getting an update from the auto update system, and that is the small program file LFS_restart.exe which normally sits in your LFS folder, waiting to be used when you get an update for a new version.

So if you would like LFS_restart.exe to have a nicer looking icon, click this link to download a zip file containing LFS_restart.exe which you should save into your LFS folder, overwriting the existing file.

Download: https://www.lfs.net/file_lfs.php?name=LFS_restart_2023.zip (85 KB)
Last edited by Scawen, .
Scawen
Developer
Thanks you for responding to the poll. We have a clear winner! Nod

It is now low beam / high beam in Test Patch D51
Scawen
Developer
Test patch D51 is now available!

Interface:
F key messages not starting with '/' are added to open text dialog
F key /commands are executed without affecting dialog (as in D50)
Text for lights "dipped / full" changed to "low beam / high beam"
Command /light head now accepts values low/high/low_off/low_high
E.g. /light head low [switch on low beam aka dipped headlights]
New +/- buttons to adjust number of connections shown in N-list
FIX: Mod list request could prevent entry to car selection screen

Misc:
Front fork with adjusted ride height went wrong if colour selected

Dashboard:
Support for new dashboard lights / symbols: sidelights and neutral

Multiplayer:
FIX: Ability to exceed IS_PLH values (will be fixed in D51 hosts)

Translations:
Updated translations - thanks again translators!

Download: https://www.lfs.net/forum/thread/106005
Scawen
Developer
Quote from Flame CZE :Is it possible to make it available for all vehicles types, not only bikes? For instance, my RADIX P6 mod also has a neutral light on the dashboard.

I plan to do that.

Quote from bayanofmansorofisky :after the D50 patch i noticed a stutter, more like a stuck situation

I moved your post to Test Patch D50 thread
Scawen
Developer
Quote from P V L :Hello, what to do to run the [DS] servers at D50 ? As most people already switched to D50 patch

they cant drive anymore without problems.I looked at hosting, can just set to LFS7D there. P V L

As far as I knew there would only be these rare issues, such as OOS in the known cases listed in the first post. I'm not investigating OOS cases to see if they are the ones described or some other reason. Unless a D50 guest gets an OOS on a D50 server.

I didn't know the new test patch would be so popular. I'm not sure how important it is to bring a test patch into the official server rental system, although it looks more important that I first thought.

Obviously some testing was required. It looks pretty stable but I have had one error reported, don't know if it's something new.

Also I see a lot of "WOULDBLOCK" UDP errors on TC. I don't know if this is due to the higher bandwidth and if I can do something about it.

So the general idea is we are just testing and I need to have a look at issues, and due to the popularity of the patch, it is worth considering if D50 servers should be selectable.

Quote from Bass-Driver :Do the new commands require a new hostversion?

As tankslacno says, these commands need a new version.

Please bear with us, the situation is as I've described.
Scawen
Developer
Updates still planned for Test Patch:

[simple updates that I can add to a compatible version]

Misc:
- consider improved support for stretched tyres
Last edited by Scawen, .
Scawen
Developer
Updates still planned for Editor Test Patch:

Dashboard editor:
- some way to see all the lights, e.g. scroll bar
Last edited by Scawen, .
Scawen
Developer
Thank you for all the testing!

Semi-compatible test patch D50 is now available!

Info and download: https://www.lfs.net/forum/thread/106005
Scawen
Developer
Thank you for all the testing!

Editor test patch D50 is now available with various updates.

Be aware - the mods it saves are not compatible with current official LFS!

Info and download: https://www.lfs.net/forum/thread/106004
Test Patch D64
Scawen
Developer
WARNING: THIS IS A TEST

THIS DOES NOT CONTAIN NEW TYRE PHYSICS OR THE NEW GRAPHICS SYSTEM

PLEASE TEST BEFORE YOU POST

PLEASE... NO OFF TOPIC FEATURE REQUESTS!


Hello Racers,

Here is a new test patch: 0.7D64

Please read the list of changes below.

0.7D64 is SEMI-COMPATIBLE with 0.7D

- You CAN connect online with 0.7D
- You CAN play single player replays from 0.7D
- Some rare mods or bike mod setups can cause OOS
- You can use mods from the latest LFS Editor (allows new features)

Please back up or rename your LFS.exe from version D so you can revert to it if necessary.

Known OOS cases when joining a server earlier than D50:

Loading more than 2400 objects in a layout
Use of a bike setup with adjusted fork ride height
Use of a car with visible spare + different size wheels


Changes in D64:

Graphics:

FIX: Subobject transparency was not visible in forces view


Changes in D63:

Graphics:

Spinner objects now stop nicely at the default position
Support for the new light switch options in Editor D63

Misc:

LFS now always checks for existence of some folders at startup


Changes in D62:

Korean IME:

FIX: The fix in D61 was incomplete and should work now


Changes in D61:

Graphics:

Vehicles are no longer fully regenerated on every mirror adjustment
- fixes bug that moved subobjects were reanimated on mirror adjust

Korean IME:

FIX: Since 0.7C the last character would be lost on pressing enter

Interface:

FIX: Handicaps message after /h_mass now states correct added mass


Changes in D60:

Graphics:

Support for stretched tyres (when rim is wider than ideal)

Commands:

/key command accepts 12 keys described by a word (see Commands.txt)

Misc:

Updated document Commands.txt (in docs folder)


Changes in D59:

Graphics:

Small indicators on side of XRG/XRT/FXO/LX4/LX6/RAC/FZ5 now flash
Subobject indicators left / right now relative to whole vehicle
FIX: Lighting of subobjects and wheels was as if at vehicle centre


Changes in D58:

Lights:

Headlight switch now incompatible between versions < D50 and >= D50
FIX: Extra light of remote cars was not visible when switched on

Moving subobjects:

Popup headlight system generalised for moving objects with switches
Light / horn switches work even if car does not have that feature


Changes in D57:

FIX: Transparency could vanish with more than one vehicle in view
IS_PLH now allows 'silent' update (with Flags bit 7 (0x80) set)


Changes in D56:

Transparency now works correctly with popup headlight objects
Popup headlights now support flip function


Changes in D55:

Multiplayer:

FIX: LFS could crash if a player left when a mod was not downloaded

Graphics:

Popup headlights and internal mirrors are excluded from forces view
Skin mappings that move with driver side swaps no longer avoid flip


Changes in D54:

Lights:

FIX: XR GTR mistakenly had the road car popup lights enabled

Interface:

Pedals are now shown to the left of the list of connections

AI:

FIX: AI would reverse assuming "stuck" during stop-go penalty


Changes in D53:

Lights:

Lights now work on subobjects (e.g. bike handlebars)
Popup headlights are also supported (already on XRG and XRT)


Changes in D52:

Lights:

Support for multiple light mappings (enabled in LFS editor D52)
Virtual gauges now show sidelights / low beam / high beam symbol

Dashboards:

Support for new options (minor updates) now available in editor

Wheels:

Support for new rim material settings (enabled in LFS editor D52)
Wheels set to "inside covered" now match the editor
- "inside covered" or "open wheel" only affect logo and lighting
- visibility of brake disc and spoke object is no longer affected


Changes from D48 to D51:

Interface:

New icon for LFS.exe includes 256x256 icon image
Commands /status F11 and /status F12 are now available during SPR
F key /commands are processed immediately (not added to text dialog)
Connections list in game / race setup screen can have a scroll bar
- scroll with mouse or Page Up / Page Down keys
New +/- buttons to adjust size of text in connections list
FIX: Various text commands such as /spec now disabled in replays

Lights:

Side lights, low and high beam headlights are now supported
Text command /light (requires two parameters) to switch lights:
/light ind [off/left/right/all] - switch indicators/hazard lights
/light head [off/side/low/high/low_off/low_high/next/prev] - lights
/light [rfog/ffog/extra] [off/on/toggle] - switch fog/extra lights
/light all [off/on] - switch all switchable lights off/on at once
Key '3' now toggles between off & low beam like /light head low_off
SHIFT+3 goes through all headlight states like /light head next

Multiplayer:

Maximum possible connections increased to 79
- there will be a higher charge for 79 connections
- free hosts are still limited to 47 connections
- maximum cars in race has not been increased

InSim:

License byte added to IS_NCI packet (after Language byte)
IS_PLH packet sets handicaps for individual players
TINY_PLH - request IS_PLH listing player handicaps
SMALL_LCL - full control of lights including fog and extra lights

Commands:

/h_mass username X - set added mass for user's car
/h_tres username X - set restriction for user's car
/teamarrows=no/yes - arrows on non-race small map use name colour

Layouts:

Max objects increased to 3000
NOTE! using more than 2400 objects will cause OOS on servers < D50

Bikes:

Increased maximum value for brakes, suspension stiffness, damping
NOTE! higher values not available when connected to servers < D50
FIX: Fork tubes misaligned if ride height adjusted in other setups
NOTE! adjusting fork ride height will cause OOS on servers < D50
FIX: Weight distribution was wrong if any trail reduction was set
FIX: Wheel masses not correctly positioned for trail reduction

Engine:

V16 engine is now available and some classes allow larger engines
New firing order for I5, V6, flat-8 and V10 engines (affects sound)
FIX: V12 engine firing order was wrong causing poor sound quality

Incompatible updates:

New features for mods including wheel and passenger positions
Support for new rim styles and different wheels front and rear
Fog lights are now functional if enabled by the mod creator

Graphics:

Removed wheel LOD reduction that was related to angle of view
Tyre manufacturer now appears at the top of tyre after reset

Dashboard:

Support for new dashboard lights / symbols: sidelights and neutral

Translations:

Updated translations - thank you translators


Changes from D to D48:

Interface:

A small map is now displayed at Layout Square if there is a layout
New display in F9 / F10 views shows estimated laps given fuel use
Engine health (with colour code) is displayed in F9 / F10 views
F9 / F10 extra displays are now switchable (Options - Display)
Speedo and tacho are moved UP if required for extra displays
CT display now uses dot matrix font if translation allows it
Driver / fuel buttons in garage are now only shown if relevant
Speed at redline is displayed beside each gear ratio in setup
Simple versions of F11/F12 displays are now available during an SPR
A message shows the name of any mod that can't be loaded in an SPR
Four-character mod names are shown in results table instead of MOD
Downforce tab is now shown for all vehicles
- previously was only for those with adjustable wings
- shows an estimated maximum speed based on wind resistance
- note: the estimate does not consider rolling resistance
FIX: Crash when two events on calendar used same event image
FIX: Calendar time could be wrong near start of daylight saving
FIX: Small camera movement on releasing LMB after 2-button rotation
FIX: Chat text in mods screen is now in front of interface buttons
FIX: User names that start with '.' now correctly displayed in chat
FIX: Crash if /track command was used while generating AI path info
FIX: AI skill level always used Latin codepage in F11/F12 menus
FIX: Engine brake reduction had no effect for EV but was visible
FIX: /setlap command error if name coloured and number 4 chars long
FIX: Replays auto-named with special characters could appear wrong

Controls:

A force feedback display is shown below the pedals (bottom right)
FIX: Mouse wheel gearshifts are now equivalent to 100ms keypress

Game:

Possible to reset if an approaching vehicle is moving slowly enough
Reset is now possible during a pit stop if the state is "finished"
Speed limiter (at 80 km/h) can be manually enabled if no pit lane
Auto gear shift: downshifts are now done at slightly lower rpm
FIX: Auto shift *up* did not work if max power rpm above redline
FIX: Driver swap enabled very high speed limiter if no pit lane

Mods:

An EV charge/discharge power bar in place of the clutch bar
- only visible if Options - View - Show pedals is enabled

A new "Cleanup" mode in the mods screen
- you can select to keep latest mods and test mods
- there is not yet a feature to keep replay mods

Support for new options set per vehicle instead of by race class
Support for "hub" subobject that moves and rotates with a wheel
Support for new pit speed limiter flashing light option
One wheel drive and no anti-roll if wheels are staggered
Click Skin ID in garage colours tab to copy ID to clipboard
Hold CTRL in Garage: Mods button becomes Test (direct to Test mode)
Opening mods screen is prevented if a rating request is in progress
FIX: Mod with 27 character name appeared in mods screen Test mode
FIX: Crash if mod had more than 64 materials

Dashboards:

Engine damage light on dashboard is now available if set in editor
Support for new speedo and tacho style options (see editor notes)
Support for dashboard backing texture system, text colours, opacity
Can also set background colour without supplying a backing texture
New needle pivot texture works better on light coloured dashboards
Dashboard brightness should now be the same as in the editor
- this update also affects the RB4 and MRT5 (recently updated)
FIX: Text size on dashboard more closely matches text in editor
FIX: Brightness of multi function display now matches the editor

New steering model for bikes:

Improved handling and braking ability
- Feet down steering model up to 7 km/h
- Low speed model only from 7 km/h to 18 km/h
- Interpolated model from 18 km/h to 36 km/h
- High speed model only above 36 km/h
FIX: Steering glitch between feet down model and low speed model

AI vehicle control:

Improved braking prediction so less running wide at corners
- considers brake balance (which is not ideal for every corner)
- can result in better lap times due to improved line following
AI braking prediction now takes account of engine braking
AI can now ride motorbikes (a bit slowly due to safety margin)
AI will drive more gently when off track on a bad surface
Bikes slow to avoid taking off over large humps in the road
Avoid unnecessary downshifts by looking ahead to see if needed
FIX: Sometimes could reach a maximum speed and stop accelerating

AI misc:

Distance to vehicle considered dangerous now depends on length
Distance to vehicle considered safe is reduced at low speed
- should prevent long vehicles hitting the brakes on green light
- gaps between vehicles may be smaller when speed is below 20 m/s
AI can enter configs with no path (but will not drive)
AI can now enter the game with an object (to just sit there)
Better collision avoidance when close behind or beside others
Reset is available even after engine switched off after long wait
Message history is no longer enabled for AI path generation
FIX: AI can now reset if in contact with a stationary vehicle
FIX: Errors in fuel calculation related to "Refuelling allowed"
FIX: It was possible for the fuel calculation to report 0 stints
FIX: A hang generating path for a mod with "Max up" wrongly set

AI in pit lane:

Target speed 1 km/h slower in pit lane to avoid speeding by mistake
- was possible for a powerful car to overspeed shifting 1st to 2nd
Improved driving in pit lane when close behind other drivers
Avoid excessive downshifting when approaching speed limit zone
Approx 1 second safety margin entering pit lane to avoid speeding
Use speed limiter or throttle to avoid wheelspins causing speeding
Smoother transitions switching between main path and pit lane path
FIX: Choice of pit stop box was wrong (bug introduced in 0.7B)
FIX: Slow start / stuck in pit stop if max torque at very low rpm
FIX: Some mods would brake too gently and miss the pit stop point
FIX: Some mods would overshoot their pit garage when parking
FIX: Can now reset at the end of a pit stop (e.g. fallen bike)

AI overtaking:

Various improvements to improve the overtaking decisions
Overtakes are considered on a group instead of individuals
Better estimate of the possibility and duration of a pass
Pass decision from low speed now allows for acceleration
When planning a pass time is allowed to pull in after pass
More distant consideration of other vehicles at high speed
There should be fewer dangerous overtakes in braking zones
FIX: AI could get pointlessly stuck behind a slower vehicle

Regional downloading system:

We now have 3 download locations for mods (NL/JP/US)
Faster downloads if you are in N/S America or Asia/Oceania
Locations in Asia and Oceania will download mods from Japan
Locations in North and South America will download from USA
Download redirection is handled automatically by our server
Regional downloads can be disabled by a new Misc Option
Yellow redirect message is shown the first time you are redirected

Graphics:

Dust colour on grass and dirt tracks now uses a dirt colour
- previously used average colour of surface which looked odd
- smoke and dust acquire lighting colour from car's location
FIX: Mudguard / handlebar / trailing arm subobject could disappear

Physics:

Improved bike physics (affects lean angle and tyre forces)
Pit speed limiter now based on drive speed instead of world speed
- prevents wheelspins (e.g. at RO) pushing car over the speed limit
FIX: Narrow cars were sucked in when near fence or narrow barrier

Audio:

Tone variation limited to 0.99 to prevent an engine sound bug
Switched off experimental "Prevent clipping" option by default

Multiplayer:

Improved setting of tyre state after receiving a position packet
- previous location of tyre contact is better estimated (for forces)
- most noticeable when viewed car had not been on screen for a while
- e.g. after tabbing to another car or fast forwarding a replay

Misc option "Full physics for remote cars" is enabled by default
- low res physics previously used for cars other than the 4 nearest
- option approximately doubles CPU usage by physics in multiplayer
- could cause issues at turn 1 with many cars depending on PC power
- use profiler display to check CPU usage with the option enabled
- see profiler by pressing car icon then P in Misc/Graphics options

Engine damage repair in pit stop
- yellow counts as minor damage (6 seconds)
- red counts as major damage (12 seconds)

Team arrow colours on small map are now enabled by a host option
- arrows on non-race small map take colour of first name character
- option is not yet available but is coded as /teamarrows=no/yes

Cancel button and ESC key to cancel the process of joining a host
- the currently downloading skin or mod is allowed to finish first
Temporary (free) hosts are shown without colours in List of Hosts
Stationary cars can now lag for longer (3 seconds) before vanishing
FIX: Remote car using pit speed limiter did not move smoothly
FIX: Crash enabling filter in List of Hosts after all were disabled

InSim:

IS_CPP packet with Time = 0 is instantly processed (not stored)
- allows it to be followed immediately by an IS_CPP with Time > 0
FIX: ZByte was not set in IS_OBH packet

New commands:

/status none|F9|F10|F11|F12|next|prev - sets status screen
E.g. /status next will cycle through the F9 to F12 status screens
(you could assign it to a CTRL+ or ALT+ key and then a wheel button)

/liveset and /pitins - do the functions of F11 and F12 menus

You can use operators:
= (set value)
+= (add to value)
-= (subtract from value)

Examples:
/pitins ftyre = r3 : change front tyres to R3 in pit stop
/pitins rtyre = super : change rear tyres to road super
/pitins fpressure = 1.1 : set front tyre pressure to 1.1 bar
/pitins fpressure += 0.1 : increase requested pressure by 0.1 bar
/pitins cancel : cancel all pit instructions
/pitins tyres always : change all tyres
/pitins tyres 20 : change tyres if wear > 20%
/liveset bbal 60 : set brake balance to 60%
/liveset rarb -= 0.1 : decrease rear ant-roll bar by 0.1

Available options for /pitins:
fuel, tyres, repair, symmetric
ftyre, fcamber_l, fpressure_l, fcamber_r, fpressure_r, fwing
rtyre, rcamber_l, rpressure_l, rcamber_r, rpressure_r, rwing
cancel, fcamber, fpressure, rcamber, rpressure

/pitins pressure commands can accept unit (psi/bar) (no unit = bar)
E.g. /pitins fpressure 30 psi

Available options for /liveset:
bbal, farb, rarb

Multiple commands on single line:

Multiple commands can now be added on a single line which sometimes
can avoid the need for a script file, e.g. to set a button to
change tyres in pit stop, you could use a double command:
/pitins ftyre super /pitins rtyre super

NOTE: some commands cannot be followed by another command:
/say /echo /join /rcm /pass /msg /altf /ctrlf

Maximum length of command and F key text increased to 95 characters
Wider text display in CTRL+ and ALT+ tabs in controls screen


INSTALLATION:

A FULL version of LFS 0.7D must already be installed


To install the PATCH using the SELF EXTRACTING ARCHIVE:

1) Move or save the patch into your main LFS folder
2) Double click the patch to extract it to that folder
3) When you see "Confirm File Replace" select "Yes to All"
4) Now you can start LFS in the normal way

NOTE: You can see if the patch is correctly installed when you run
the program (LFS.exe). At the bottom of the entry screen: 0.7D25


DOWNLOAD:

IF YOU ALREADY HAVE 0.7D:
PATCH 0.7D TO 0.7D64 (SELF EXTRACTING ARCHIVE)
https://www.lfs.net/file_lfs.p ... =LFS_PATCH_7D_TO_7D64.exe (1.8 MB)
Last edited by Scawen, .
Editor Test Patch D50 (now D64)
Scawen
Developer
Hello Mod Creators,

Here is an update for the LFS Editor.


Editor 0.7E is now available!
https://www.lfs.net/forum/thread/95664




Changes in Editor D64:

FIX: Subobject transparency was not visible in special draw mode


Changes in Editor D63:

Vehicle editor:

New switch options for rotator and slider: signal / light switch
New flip function "with driver" (move across with driver / no flip)
Spinner objects now stop nicely at the default position


Changes in Editor D61:

Modeller:

Message selecting triangle in another subobject uses subobject name
ALT+click on triangle in another subobject to select that subobject
FIX: Spoke editor duplicate and delete buttons in texture page mode

Rim editor:

Added CTRL+D (duplicate) and CTRL+N (new point) keys


Changes in Editor D60:

Graphics:

Support for stretched tyres (when rim is wider than ideal)

Rim editor:

You can now see and type / copy / paste selected point coordinates
Removed direct drag on point and added diagonal drag handle instead
Snap to grid only works on the relevant drag axes (X, Y or both)

Modeller:

New button to show subobject's axes (beside "rotate" button)


Changes in Editor D59:

Vehicle editor:

Selected suspension point can (again) be adjusted in SHIFT+L view
Subobject indicators left / right now relative to whole vehicle
FIX: Passengers were not updated when selecting a different setup

Modeller:

New flood select function to select all triangles by point sharing
- different from CTRL+SHIFT+LMB (select related triangles by edge)
- ALT+RMB selects all connected triangles regardless of properties
- triangles are considered connected if they share a single point
FIX: Keep merged subobject feature was controlled by wrong option


Changes in Editor D58:

Moving subobjects:

Popup headlight system generalised for moving objects with switches
Subobjects can rotate a set angle, slide or spin at a given speed
This can be connected to switched lights / ignition / horn / siren
New test system in vehicle editor "Class / Inputs" tab (top left)


Changes in Editor D56:

Skin mappings that move with driver side swaps no longer avoid flip
Transparency now works correctly with popup headlight objects
Popup headlights now support flip function


Changes in Editor D54:

Lights tab in Vehicle Editor:

FIX: Subobject lights did not visibly update in editor when adjusted

Modeller:

Merge subobject dialog : use selected layer / keep existing layers
Improved layer selection (tooltips change when CTRL is pressed)
- in orange/yellow mode : CTRL+RMB sets the selected layer
- tri mode : CTRL+LMB - select all triangles in layer

Modeller hotkeys / shortcuts:

Keys to select modes: numbers 1 to 8 (subob
SHIFT+M / SHIFT+S - show main / show subobs


Changes in Editor D53:

Lights:

Lights now work on subobjects (e.g. bike handlebars)
New object type "Popup headlight"
- set axis, angle and time of rotation in modeller
- test using slider bar in vehicle editor Lights tab

Modeller:

Option to keep an empty (rotated) subobject after "merge into main"
- and break off main object into rotated subobject works as expected
- for example the following sequence of operations is now possible:
1) rotate a subobject to convenient orientation for modelling
2) merge into main but keep the empty rotated subobject
3) model and map the subobject in that position
4) break off into the rotated empty subobject


Changes in Editor D52:

Wheel object visibility:

No change in editor but game now matches the editor
- "inside covered" or "open wheel" only affect logo and lighting
- visibility of brake disc and spoke object is no longer affected

Rim and spoke objects:

Rim now gets material properties from first mapping in spoke object
Spoke object can have more than one texture page, including _ALP
- for example a chrome material can now be added as first mapping
- and in that case the rim would also use that chrome material
- no alpha sorting: transparency should only be used for overlays

Lights:

Multiple mappings per special name e.g. more than one l_head
- a second word is allowed e.g. 'l_head front' / 'l_head top'
- the second word is only to make it clearer for the mod creator
- extra names such as l_sbrk and l_tbrk are no longer needed
- reduced number of special light mapping names from 18 to 12
- mesh configurations are now fully supported by the lights
- e.g. separate mappings like 'l_head stock' and 'l_head sport'
- NOTE: maximum of 4 mappings per special name in a configuration
- NOTE: all mappings in use in a group must share a single texture

Dashboard:

Option: Show low and high beam icons simultaneously
- (shows icons for lights less than the current light switch)
Option: Show dim icons when not illuminated [default yes]
- (allows you to disable the faint image of icons that are off)
Option: Show dim segments of digital displays [default yes]
- (disable the faint non-illuminated segments of gear / speed)
Editor options: Dash lights off/on / Expand dash texture display


Changes in Editor D51:

WARNING: INCOMPATIBLE UPDATE!
TEST PATCH D50 IS REQUIRED AND YOU MUST BE ON A D50 HOST
OFFICIAL VERSION SHOULD BE RELEASED IN MID-DECEMBER


Interface:

New icon for LFS_EDITOR.exe includes 256x256 icon image
Improved messages warning of unsaved changes on exit

Wheel rims:

Rim can now be fully edited - there are no fixed surfaces
Rim no longer blends seamlessly into the wheels without an edge
Allows more design flexibility for alloy wheels and steel wheels
Removed: edge extra width / lip depth / inner depth / black inner
A simple alloy style edge is automatically added to existing rims
Option to allow separate wheel style (rim/spokes) for front & rear
Tyre vs rim guide in the vehicle editor helps set correct rim width
Rim has 60 segments around instead of 30 (tyres still 30 around)

Rim editor:

Guide shows regions that should be covered by rim cross-section
Button "flip x" to swap selected points between left and right
The colour at the bottom of the list can now be deleted
3D view of car visible in rim editor can now be rotated
Can set the size of text buttons and selection blobs
Grid size of 1mm helps with "snap to grid" function
Mouse wheel can be used to zoom in and out quickly

Wheel lighting:

New ambient lighting system for wheels and spokes
The new lighting system replaces the old 'rim shade' option
Separate options for front & rear lighting (open / inside covered)
Update code automatically removes Dx/Ex darker colours from rim

Spare wheel:

Option to include a left or right spare wheel (or both if offset)
Option for single spare wheel to swap side when driver swaps side
Option for spare wheels to be based on rear or front wheels
Cars with visible spare + different size wheels a little lighter
- because they are auto set to use front wheel for graphics + mass
Spare wheel heading can now be set (as well as lean)
Spare wheel offset can now be up to 1.25m (like road wheels)
Spare wheel vertical (up or z) position can be set up to 2m
Option to include hub object with any spare wheels

Vehicle editor:

Scroll bars added to Lights tab and Textures tab
Engine mounting renamed to "Crankshaft axis" to avoid ambiguity

Bikes:

Increased maximum value for brakes, suspension stiffness, damping
FIX: Fork tubes misaligned if ride height adjusted in other setups
FIX: Weight distribution was wrong if any trail reduction was set
FIX: Wheel masses not correctly positioned for trail reduction

Modeller:

New buttons to shear (skew) points when CTRL is held in 2D view

Other incompatible updates:

Specify number of rear passengers (from 1 to 3)
Manually set rear seat width (2 or 3) or offset (1)
Max mesh configurations increased to 8
A single road wheel can be be offset to the right
Frame tubes can be single sided (not mirrored)
Specify per object (engine, battery, frame, etc) if swaps side
Trail reduction can now be set for any vehicle (not just bikes)
- can also go negative now / recommended value zero for most cars
Minimum steering wheel (or handlebar) turn reduced to 20 degrees
Fog lights can now be used (assign in model / enable in Lights tab)

Dashboard:

Dashboard lights for fog lights and fuel warning are now available
Optional dipped headlight symbol (for new command /light head low)
Support for new dashboard lights / symbols: sidelights and neutral

Lights:

Special mapping names l_high (high beam) and l_extra (extra light)
New light colours "side" / "high" (headlights) and "extra" light
- "high" lights are for vehicles with separate high beam lights
- "extra" lights are for unspecified vehicle-specific purposes
/light head side - switches on side lights
/light head low - switches on low beam
/light head high - switches on high beam
If l_side separate there is an option to keep them on with main
If l_side not separate you can choose to share l_head or l_high

Race classes:

Max engine size: bike 2.5L, formula 8L, F1 5L, truck/bus/van 16L
Added two new classes: bus (like truck) and prototype (like GT)

Engine:

V16 engine is now available

System:

If startup fails on selected adapter it tries again using default
- avoids message "No outputs found" after selecting wrong adapter


Changes from 0.7C to 0.7D40:

General:

Editor sliders now have both arrows on the right
H button at top left to hide/show message history like H key in game
Left click increments should now always be smaller than right click
- previously this was not consistent between all types of button
- as before, CTRL may do smaller steps, SHIFT may do larger steps
- this change should apply to distance, colour, angle and scale

Vehicle editor:

Exit warning only if changes have been made
Various improvements in layout and organisation
Undo and redo functions for all editor operations
Tooltips are now available (allows reduced button text)
Engine damage light can be enabled (in Transmission tab)
A new button to show the view from driver's eye position
Spare wheel can now be offset laterally (set RIGHT value)
Maximum value for main body drag increased from 1.0 to 6.0
Unsaved changes warning on clicking the X button to exit LFS
New message on clicking "Animate" if the vehicle has no driver
Question button and tip are shown for unusual FR configurations
Caster angle reduced to 2 decimal places (3 seemed excessive)
Maximum speed for each gear is now visible in the vehicle editor
- you will need to click the '-' button beside reload textures
Max subobjects to be drawn in editor increased to 40 (was 32)
Mod with too many materials cannot be exported to test in LFS
For flashing pit speed limiter light - choose brake or rear fog
Width / ratio / rim width move in bigger steps with right click
Frame position adjustments use expected steps for mouse clicks
CTRL+RMB (copy) SHIFT+RMB (paste) now work with frame point values
Hide the bottom right buttons now hides the whole settings block
Special view no longer includes wheel mass cuboids by default
Error message displayed if a vehicle file cannot be loaded
FIX: Dashboard for electric vehicles was switched off in editor
FIX: A fix for the cover image screenshot when exporting a large mod
FIX: Corrects an audio bug if a bad value is set in LFS sound editor
FIX: Save as SIT / STR name now limited to 7 characters
FIX: Crash if vehicle mod had more than 64 materials
FIX: Spare wheel pitch now expressed in degrees
FIX: Nudging of RPM sliders in engine editor

Dashboard editor:

Speedo:
- set maximum value in km/h (steps of 5)
- option to show units (km/h or mph)

Tacho:
- set maximum value
- x100 or x1000
- gap 1/2 (x1000) or 5/10 (x100)
- options to show units (x100 or x1000)

Options on all gauges:
- needle colour = text colour
- needle is long
- needle above pivot
- hide pivot
- hide numbers
- hide symbol (if applicable)
- hide marks
- smaller text

A new dashboard backing texture system
- only for s_clock and s_clock_white dashboards [restriction removed in D36]
- backing texture appears *behind* needle, numbers, markings
- appears illuminated (self lit) like the default dashboards
- recommended texture size is 512 or 1024 for future-proofing
- load the texture in page mode in the modeller
- click the "fixed" button to mark it as "dash"
- there is a reload button in the dashboard editor
- alpha channel has no effect

Digital and analog speedo may be used at the same time
Ability to set colours instead of using the system colours
Set background colour without supplying a backing texture
Adjustable black rectangle option if background is not black
FIX: Dashboard texture can now be updated in a 2D view

Switches for options previously controlled by Race Class:

- Pit limiter light (in 'Lights')
- Handbrake / Horn / Starter Motor (in 'Allow')
- Oval suspension arms (in 'Suspension')
- Grooved slicks (in 'Wheel Object')

Limited sidecar support:

Lone wheel (e.g. front) can be offset left (in Suspension tab)
- offset wheel to right is currently disabled for compatibility
Pair of wheels (e.g. rear) can be longitudinally staggered
- only the rearmost wheel of a staggered pair is driven
- anti-roll is disabled when the pair is staggered

Mod Export:

A new limit of 8192 triangles / 12288 vertices for LOD2
Groups are compressed when exporting for test or upload
A sky reflection (environment map) is included in mod screenshot

New vehicle:

Better initial values for engine and fuel tank positions
Light colours are now initialised (all were black except rear fog)
FIX: Editor buttons appeared during dialog in new vehicle screen

Animation editor:

Eye view button (beside origin and object buttons)
Keys O (view object) and SHIFT+O (options) now work
FIX: Driver in wireframe mode could be obscured by the vehicle

Vehicle editor keys:

CTRL+O: load vehicle / CTRL+N: new vehicle
C: to clear selected point and selected tube
Delete: delete a point or tube (if only one is selected)

Modeller:

There is now a redo function to go with the undo function
Ability to name subobjects (right click name or description)
Unsaved changes warning on clicking the X button to exit LFS
New dialogs for extrude / lathe / create a circle of points
You can now undo "load main object" (reverts to old object)
New button to select a point by entering the point index
- index of a single selected point or triangle is displayed
Rearranged buttons in tri mode to align well with point mode
Helpful messages about bad normals are now shown at top right
- triangles that are too small or too thin are separately listed
- triangles as small as 1/3 of a millimetre can contribute normals
- click button to find error triangles or points with bad normals
New function "invert" to invert selection (selected - unselected)
Disabled point selection by middle button in build and point modes
Number plate texture s_plate is now visible in modeller 'page' mode
Rotated subobjects can now be correctly merged into the main object
You can now break off triangles from a subobject into a new subobject
Select or deselect multiple triangles by holding down CTRL and LMB
- move the mouse to nearby triangles to keep selecting or deselecting
Aligned "select selection's points" and "select connected triangles"
- these were misaligned in 2D modes if a selection box was visible
- it can be useful to click them repeatedly (much easier if aligned)
You can hide subobjects other than the selected one: show subobs NO
Reflect object function is now available for individual subobjects
Combined clean object buttons into a single button with a dialog
New feature to merge points by distance (distance can be specified)
Mouse control now works below 1cm from the plane (down to 1mm)
Modeller move in list UP/DN: move more with SHIFT or right click
A new style dialog is now used for merge points (ALT+M) options
A point is selected if unambiguous after merge to green or average
A new function "reduce detail" is visible with triangles selected
Map / cutout / page selections are preserved when possible
Undo and redo deal correctly with map / cutout / page modes
Cutout mode works more like map mode and avoids button overlap
Overlay function from page mode is now available in cutout mode
Square buttons in map mode match mapping aspect ratio to cutout
Export plain / shaded / wireframe for any texture (not only skins)
FIX: Map mode showed texture file for skin cutouts as [no texture]
FIX: Points more likely to remain selected after scale or lathe
FIX: Crash on reload textures with no cutout or page selected
FIX: Wireframe view went wrong or crashed on "reload textures"
FIX: Rim disappeared on clicking "reload textures" in spoke edit
FIX: Bottom right screen layout was wrong in 2D views
FIX: Crash when selecting overlay with no texture

Wheel-related modeller features:

Set subobject as "hub object" that moves and rotates with a wheel
Spoke mode "export SRE" saves combined spokes as a modeller object
Spoke mode "import SRE" function to load modeller object as a spoke

Modeller hotkeys / shortcuts:

CTRL+O: load main object

Keys for subob, point, tri, map, cutout, page modes:
CTRL+D: duplicate
CTRL+N: new
DELETE: delete

H: hide selected (points or triangles)
SHIFT+H: hide unselected
ALT+H: unhide all

E: extrude selected points (with trace enabled in point mode)
S: select selection's points / select connected triangles
CTRL+F: flip selected triangles (in tri mode)
CTRL+F: flip connected triangles (in point mode)
CTRL+I: invert selection (points or triangles)
ALT+M: Merge points (previously known as Fuse points)


DOWNLOAD:

LFS Editor PATCH 7A to 7D64 [If you already have LFS Editor 0.7A]
Editor 0.7A or later must already be installed!
EDIT: Link removed - 0.7E is now available [1.7 MB]
0.7E: https://www.lfs.net/forum/thread/95664
Last edited by Scawen, .
Scawen
Developer
We are getting near the next test patch, which will be semi-compatible (same physics and graphics, new mod options).

I've updated the change log in the first post, to bring all the updates from D to D48 into the same list.

I hope it makes sense. I feel a bit like this: Ya right

D to D48: https://www.lfs.net/forum/thread/102117
Scawen
Developer
Come on guys, I'm trying to work and could do without these off topic questions.

It's a test patch. Usually I don't prepare the whole auto updater system, just to stick up a test patch. It takes far too long to do.

Please, report problems with the test patch or don't comment here.
Scawen
Developer
There was a known bug that caused LFS to hang when generating AI paths for certain mods that were created incorrectly (with "Max up" wrongly set). The bug was fixed in Test Patch D45.

I don't know why a computer would need restarting. In the case of a hang, you can "End task" or "End process" using Windows Task Manager (CTRL+SHIFT+ESCAPE).
Scawen
Developer
As the tougher parts of the AI were finished (for now) in D46, I was able to do another small change that had been planned for the incompatible version. The four character version of a mod's name now appears in the results table instead of "MOD". It's an imperfect system in that more than one mod may end up with the same 4-character name, but it is useful as an indication of a mod when space is tight. Of course the algorithm used in LFS was designed to be the same as the one used at LFS World, so hopefully the names are always the same!

After that, I looked back through this thread and found various issues related to AI and pit stops. There were a few reasons for AI to speed in the pit lane, miss pit stops and miss their garage when parking. Also I was able to update the pit speed limiter to be more realistic and more reliable at the same time. Fixed some rarely seen interface bugs too.

Thank you for all the testing and comments!


Changes in Test Patch D47

Interface:

Four-character mod names are shown in results table instead of MOD
FIX: /setlap command error if name coloured and number 4 chars long
FIX: Replays auto-named with special characters could appear wrong

Simulation:

Pit speed limiter now based on drive speed instead of world speed
- prevents wheelspins (e.g. at RO) pushing car over the speed limit

AI:

Avoid excessive downshifting when approaching speed limit zone
Approx 1 second safety margin entering pit lane to avoid speeding
Use speed limiter or throttle to avoid wheelspins causing speeding
Smoother transitions switching between main path and pit lane path
FIX: Some mods would brake too gently and miss the pit stop point
FIX: Some mods would overshoot their pit garage when parking


Download:

https://www.lfs.net/forum/thread/102117
Scawen
Developer
Quote from UnknownMaster21 :EDIT: Got it! It is not that much dramatic as AI is near the end of the pitlane, but there it happens. Depending on the car condition and where the pit box is, it varies. You also notice how they skip a pitbox.

OK, the pit stop issue is definitely fixed. Thanks for the reproduction but this one is too unreliable to use as a proof of fix. I couldn't reproduce it (using default setup). I would need something like 100% reproduction method, hopefully for a single car on a short race. Then, if it didn't happen in my test version we'd know for a fact it is fixed. But I'm not asking you to keep trying it, just let me know if you happen come across one where it happens every time.

Quote from Slashpca :On bikes they crash brutally on the high speed kink style corners on West Hill and the start finish at Blackwood on motorcycles for me. Seems as though they come in way too fast and start to steer way too late. If I lower them to level 2 or less skill they stay on track but they're hilariously slow elsewhere.

I was asking specifically about problems joining and leaving the pit lane path, but I think you are talking about ordinary corners?

If you are talking about bikes failing at corners, please state the exact bike and which config, as all the bikes I have been testing with, do not crash on any configs I know about.
Scawen
Developer
Well what I originally asked about was an AI issue, but Michal's reply was about a speed limiter issue.

I'm sure the speed limiter issue is fixed but would be grateful for some testing after D47 is released.

The AI speeding may have been fixed (by other means) but without a single example to test against, it's hard to say. Big grin
Last edited by Scawen, . Reason : clarity and typo
Scawen
Developer
No problem, it's just because Flame commented on this in the test patch thread, which is somehow connected because of dashboard updates. I thought it may be worth discussing more but not on the test patch thread.
Scawen
Developer
Quote from evandroPRO123 :Is it possible to add an on/off switch to the "miscellaneous" tab for the motorcycle's steering system? I believe that if there is a way to walk with the stabilizers turned off, it is possible to maneuver, so that the stabilizer does not interfere, thinking that we would fall

No, I think you believe that there is a separate system that is acting as a stabiliser. In fact the entire balancing mechanism and steering are lumped together into a steering model. The user sets the lean, then the steering model attempts to achieve that lean solely by adjusting the front wheel steering. It's a very challenging coding task, as you can see by the two weeks it took me to get to D45, after D44.

The solution I would really like, as mentioned before, would be to have a "physics" model (simulating gyroscopic effects) and a separate "steering" model that is applied on top of that, but that is not the case at the moment and will not be the case, certainly in the 'old' LFS physics.

As I say, quite often, I am trying to get off this test patch so I can get back to the new physics so I can release the new graphics system that everyone wants. If I don't finish it, then it can't be released.

I don't think everyone understands quite how extremely active this bike balancing needs to be, to keep the bike upright at all. Without the steering model constantly adjusting the front wheel, the bike will fall instantly. For example, if the user had direct control of the handlebars, it would be impossible to keep the bike up. The balancing code is actually adjusting the steering 2000 times per second to keep the bike upright.

At this point I will only fix serious problems. I'm not going to be working on the bikes going off road in the old tyre model, or implementing a full bike physical dynamics system at this time.


EDIT: The only system like "stabiliser" that balances the bike using external forces is the "walking" or "feet down" model that takes place up to 2 m/s (7 km/h). Above 7 km/h all balance comes from the front wheel, attempting to achieve the lean angle requested by the user input.
Last edited by Scawen, .
Scawen
Developer
Thanks again for the testing and feedback.

D46 contains updates for the low speed steering, making it faster to change lean angle, while leaving the high speed steering unaffected. I hope you'll find this makes it better at low speeds.

I hope that low speed stability has not been diminished. It seemed fine on the bikes I tested. Looking

Interestingly (for me at least) it seems that a change on the final day or two before D45 was released, allowed the high speed steering model to work fine at lower speeds than the test version I had before that. So in D46 the high speed model goes all the way down to 36 km/h before the low speed model is brought in.

Changes in D46:

Low speed steering model changes lean angle in half the time
Low speed to high speed model transition is at half the speed
- Feet down model up to 7 km/h
- Low speed model only from 7 km/h to 18 km/h
- Interpolated model from 18 km/h to 36 km/h
- High speed model only above 36 km/h
FIX: Steering glitch between feet down model and low speed model

Download:

https://www.lfs.net/forum/thread/102117
Scawen
Developer
Bike riders, please can you test the new bike steering model in D45? It's a lot more stable when changing gear and braking, also it should be better at low speeds thanks to a separate low speed model.

I'll read the other posts since D44 again and make notes to see what I can do or reply as needed. My main focus has been trying to improve this bike model which became less stable due to an improvement in D44. In this version, the underlying physics is unchanged, only the code that steers the front wheel is different. After the bikes are done, I can get back to finish the intermediate incompatible version with improved mod support, so finally I can get back to the development version and new tyre model.

This diversion onto bikes has taken a lot longer than expected, but I know there are a lot of people who enjoy the bikes and I wanted to make it more acceptable for now.


Changes in D45:

New more stable steering model for bikes:

Improved handling and braking ability
A new high speed model is used for speeds above 72 km/h
A special low speed model is used for speeds below 36 km/h
Models are interpolated between 36 and 72 km/h

AI:

Bike can now brake harder (safety margin the same as cars)
FIX: A hang generating path for a mod with "Max up" wrongly set
FIX: Downshift avoidance was too strong (sometimes needed clutch)

Interface:

A message shows the name of any mod that can't be loaded in an SPR


Download:

https://www.lfs.net/forum/thread/102117
Scawen
Developer
Thank you all for the feedback.

About bikes, I can clearly see the issues you report, not only wobbling when braking from high speed, but a lot of movement when coming off or applying the throttle, or tapping the brake a little when leaned over.

I've experimented quite a bit but haven't got any conclusive improvements yet. It seems like I can dial out any issue but doing so always causes other issues at other speeds or conditions. For example I've been able to get really nice accelerating and braking while leaned over at medium to quite high speeds, but then it's a lot worse when the bike hits a relatively small bump and seriously overreacts. The trouble is that what I call the "damping" part of steering (that tries to reduce wobbling by bringing the lean rate near zero) needs to be quite high to react quickly to certain things, but it needs to be gentle in other situations.

I also tried the early stages of a more physical model which tries to simulate gyroscopic forces and really apply steering forces to that. To separate a bike's natural handling, from forces applied by the arms. But it seems a little distant for me to produce such a genuine physical model at this time and I'd rather not do that with the old tyre physics. And a complete model would need body movement too, which isn't for now.

So in that case I'm left with the original plan to improve our semi-physical model (the bike is in physics but the steering is just doing what it needs to do to balance that bike at the required lean). I still hope to improve it, given my increased understanding learned last week, now that we have better bikes and more of a range to test it on, it seems like I should be able to improve it in some way.
Scawen
Developer
I understand but this is not a suggestion thread. It is only to discuss changes that have been made in this test patch.

For suggestions not related to the test patch, we have special forum sections:
https://www.lfs.net/forum/8-Improvement-Suggestions
https://www.lfs.net/forum/532-Mods-System-Suggestions
Scawen
Developer
Test Patch D44 has some more improvements including better (safer) braking and faster bikes. I've tried to deal with some of the issues that come up when bikes are allowed to go faster.

Mainly:
- improve line following by fixing a physics flaw
- taking off over bumps at high speed
- braking too hard for their ability
- unnecessary downshifts

The bikes are a fair bit faster now but there are some issues, with some bikes on some tracks. If you have problems you can turn them down to (approximately) their D43 speed by selecting OK instead of PRO.

Examples:
- Mod 'Cruiser' keeps crashing at AS4 due to wobbles at speed
- Fast bikes crash due to bumps before the South City underpass

I can't yet make LFS detect which bikes will be a problem so should go slower, or detect where fine bumps will bounce them into the air, but it's more fun to let the AI go faster so at this point I think it's better to leave it up to you to slow the bikes manually when needed.

The car AI drivers are better at staying on their line at the corners because of two changes: (1) taking account of engine braking and (2) allowing an extra safety margin when braking. In some cases they may be slightly slower but it's a reasonable price to pay for much more reliable AI across the board.

Other known issues:
- AI can sometimes stall but don't know how to restart engine.
- Some karts at some tracks can repeatedly regenerate path (waiting to reproduce).
- AI were reported as being rougher in D43. Maybe they are better now they have a braking safety margin?
- EV regen does not correctly match brake force. E.g. front and rear force arrows not equal at 50% balance.

Changes in D44:

Misc:

Improved bike physics (affects lean angle and tyre forces)
FIX: Engine brake reduction had no effect for EV but was visible
FIX: Replay OOS after a reset attempt was prevented and long wait

AI:

Bike cornering and acceleration limits increased by 25%
Bikes slow to avoid taking off over large humps in the road
AI braking prediction now takes account of engine braking
Braking prediction includes a safety margin to avoid late braking
Avoid unnecessary downshifts by looking ahead to see if needed
Reset is available even after engine switched off after long wait
FIX: Sometimes could reach a maximum speed and stop accelerating

Download:

https://www.lfs.net/forum/thread/102117
FGED GREDG RDFGDR GSFDG